<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model app\modules\Cruise\models\Service */

$this->title = $model->cruise->name. '-' .$model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Services'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = Yii::t('app', 'Update');
?>
<div class="service-update">

    <h2 class="page-header"><?= Html::encode($this->title) ?>
        <p class="pull-right"><?= Html::a(Yii::t('app', 'Index'), ['index', 'cruise_id' => $model->cruise_id], ['class' => 'btn btn-danger']) ?></p>
    </h2>

    <?= $this->render('_form', [
        'model' => $model,
    ]) ?>

</div>
